package com.demo.test.server.rpc;

import one.bugu.zookeeper.rpc.framework.annotations.RpcService;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * User: LangK
 * Created Date 2019/2/11
 * Time: 15:02
 * Description:
 */
@RpcService(name = "server")
@Component
public class ServiceInterface {


    public String test(String parame) {
        return parame;
    }

    public int test() {
        return 2;
    }

}
